package com.example.demo.javaEnum;

public enum Color
{
    RED, GREEN;

    // 构造函数
    private Color()
    {
        System.out.println("Constructor called for : " + this);
    }

    public void colorInfo()
    {
        System.out.println("Universal Color");
    }
}

